home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 19 / CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso / CUCD / Online / Apache / cgi-bin / uptime < prev    next >
Text File  |  1997-01-22  |  165b  |  15 lines

  1. #!/bin/sh
  2.  
  3. UPTIME=/usr/ucb/uptime
  4.  
  5. echo Content-type: text/plain
  6. echo
  7.  
  8. if [ -x $UPTIME ];  then
  9.     $UPTIME
  10. else 
  11.     echo Cannot find uptime command on this system.
  12. fi
  13.  
  14.  
  15.